#include "PointLabCore/ClientClass.h"
#include "PointLabCore/EntityCaster.h"

namespace PointLabCore
{
	ClientClass::ClientClass()
	{
	}

	ClientClass::~ClientClass()
	{
	}

	void ClientClass::registerPointcloud(PointLabCore::Entity* ent)
	{
		mClientcloud = ent;
	}

	PointLabCore::IPointCloud* ClientClass::createPointCloudInstance()
	{
		return PointLabCore::EntityCaster::ToPointCloud(mClientcloud->createInstance());
	}

	PointLabCore::Entity* ClientClass::mClientcloud = NULL;
}